/**
* 工程名: 	Quickdisk
* 文件名: 	User.java
* 创建人:  	guo.tianxiang
* 创建时间: 	2014-4-24 下午3:15:30
* 版权所有：	guo.tianxiang  
* 文件描述: 描述该文件的作用
* -----------------------------变更记录 ----------------------------- 
* 日期        		变更人      		版本号  		变更描述  
* ------------------------------------------------------------------  
* 2014-4-24     guo.tianxiang   	1.0       	first created  
*/
package com.tianxiang.model;

import java.io.Serializable;

/**
 * 对应数据库userinfo表
 * @since Quickdisk 应用程序版本号
 * @version 1.0 2014-4-24
 * @author guo.tianxiang
 */
public class User implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;		//用户唯一标识
	private String username;		//用户名
	private String password;		//用户密码
	private String sex;					//用户性别
	private String nickname;		//用户性别
	private String phone;				//用户电话
	private int age;							//用户年龄
	private String email;				//用户邮箱
	private float totalspace;			//总计空间
	private float usedspace;			//已使用的空间
	private String introduce;		//用户介绍
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	public float getTotalspace() {
		return totalspace;
	}
	public void setTotalspace(float totalspace) {
		this.totalspace = totalspace;
	}
	public float getUsedspace() {
		return usedspace;
	}
	public void setUsedspace(float usedspace) {
		this.usedspace = usedspace;
	}
	public String getIntroduce() {
		return introduce;
	}
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	@Override
	public String toString() {
		return "User [username=" + username + ", sex=" + sex + ", totalspace="
				+ totalspace + ", usedspace=" + usedspace + "]";
	}
	
	
}
